package com.leps.nq.tx.service.impl;

import com.leps.nq.tx.entity.Section;
import com.leps.nq.tx.mapper.SectionMapper;
import com.leps.nq.tx.service.ISectionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.leps.nq.tx.vo.SectionQueryModel;
import com.leps.nq.tx.vo.SectionVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 点位区段表 服务实现类
 * </p>
 *
 * @author hex
 * @since 2022-07-23
 */
@Service
public class SectionServiceImpl extends ServiceImpl<SectionMapper, Section> implements ISectionService {
    @Override
    public List<SectionVo> listVoByQueryModel(SectionQueryModel queryModel) {
        return this.getBaseMapper().selectListVo(queryModel);
    }
}
